<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<jsp:include page="/bannerServlet?method=selectAll"></jsp:include>
	<div>
		<header class="header-article-list">
			<div class="article-position">新闻资讯</div>
			<ul>
				<li><a href="/wk3un4/ArticleListServlet">行业新闻</a></li>
				<li><a href="/wk3un4/ArticleListServlet">花卉百科</a></li>
				<li><a href="/wk3un4/ArticleListServlet">公司新闻</a></li>
			</ul>
			<div class="article-more-btn">
				<a href="/wk3un4/MoreServlet">MORE &#62; &#62;</a>
			</div>
		</header>
 		<section class="article-content">
			<ul>
			<c:forEach items="${news }" var="n">
						<li>
					<div class="article-date">
						<strong>${n.id }</strong>
						<p>${n.time }</p>
					</div>
					<div class="article-info">
						<a href="article_list_content.jsp">
							<h3>${n.title }</h3>
							<p>${n.content }</p>
						</a>
					</div>
				</li>
					</c:forEach>
			</ul>

		</section>
    <div class="article_list_more_pages">
        <ul>
            <li><a>上一页</a></li>
            <li class="article-current"><a>1</a></li>
            <li><a>2</a></li>
            <li><a>3</a></li>
            <li><a>下一页</a></li>
        </ul>
    </div>
</div>
<jsp:include page="/homeInfoServlet?method=selectAll"></jsp:include>
</body>
</html>